package com.lestv.jsonParser;


import com.alibaba.fastjson.JSON;
import com.lestv.entity.User;
import com.lestv.jsonBeans.LoginData;

import android.util.Log;

/**
 * 登录响应消息解析器
 * @author Administrator
 *
 */
public class LoginDataParser extends BaseParser {

	@Override
	public LoginData parseObject(String jsonStr) {
		LoginData loginData = JSON.parseObject(jsonStr, LoginData.class);
		//System.out.println(loginData.getData().getUserid());
		//System.out.println(loginData.getData().getTrueName());
		//Log.e("Tag", loginData.getData().getTrueName());
//		String str = d.getData().get("currentUser").toString();
//		User u = JSON.parseObject(str, User.class);
//		System.out.println(u);
		return loginData;
	}

}
